aux_source_directory(. PUBSUB_SOURCES)
list(APPEND PUBSUB_SOURCES 
    ${CMAKE_CURRENT_SOURCE_DIR}/pubsub.h
)

qt_add_library(${pubsub_lib_name} SHARED
    ${PUBSUB_SOURCES}
)

target_link_libraries(${pubsub_lib_name} PRIVATE Qt6::Core)
target_link_libraries(${pubsub_lib_name} PUBLIC
    ${util_lib_name}
    fmt::fmt
    spdlog::spdlog
)

target_include_directories(${pubsub_lib_name} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
